﻿using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Wq.MeetingService.Entities;
using Wq.MeetingService.Models;

namespace Wq.MeetingService
{
    public class MappingProfile : Profile
    {
        public MappingProfile()
        {
            CreateMap<VenueEdit, VenueInfo>().ReverseMap();
            CreateMap<MeetingRoomEdit, MeetingRoomInfo>().ReverseMap();
            CreateMap<MeetingRoomView, MeetingRoomInfo>().ReverseMap();
            CreateMap<GuestRoomEdit, GuestRoomInfo>().ReverseMap();
            CreateMap<DiningRommEdit, DiningRommInfo>().ReverseMap();
        }
    }
}
